<%--
  Created by IntelliJ IDEA.
  User: luowenyang
  Date: 2021/12/21
  Time: 19:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<sf:form modelAttribute="user" action="/bigworkdemo_war_exploded/api/loginValid" method="post">
    <sf:label path="username">用户名</sf:label>
    <sf:input path="username"/>
    <sf:errors path="username" cssStyle="color:red"/>

    <sf:label path="password">密码</sf:label>
    <sf:input path="password" />
    <sf:errors path="password" cssStyle="color:red"/>
    <input type="submit" value="提交">

   </sf:form>
</body>
</html>
